package com.yinhai.message.manage.register.bpo;

import java.util.List;

import com.yinhai.message.manage.register.dao.ISmsConfigDao;
import com.yinhai.message.manage.register.po.SmsConfigPo;
import com.yinhai.message.manage.register.vo.SmsConfigVo;

/**
*
*@author lanyc
*@version created: 2017年4月4日下午5:51:21
*/
public class SmsConfigBpoImpl implements ISmsConfigBpo {
	/**
	 * 依赖Dao
	 */
	private ISmsConfigDao smsConfigDao;
	
	public ISmsConfigDao getSmsConfigDao() {
		return smsConfigDao;
	}

	public void setSmsConfigDao(ISmsConfigDao smsConfigDao) {
		this.smsConfigDao = smsConfigDao;
	}

	@Override
	public List<SmsConfigVo> queryAllPlatForms() {
		return smsConfigDao.queryAllPlatForms();
	}

	@Override
	public Integer addPlatForm(SmsConfigPo scp) {
		smsConfigDao.addPlatForm(scp);
		return null;
	}

	@Override
	public Integer updatePlatForm(SmsConfigPo scp) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer deletePlatForm(String platFormName) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public SmsConfigVo queryDefaultPlatform() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public SmsConfigVo queryPlatformByName(String platformName) {
		return smsConfigDao.queryPlatformByName(platformName);
	}

}
